# !/usr/bin/python
# -*- coding: utf-8 -*-
import bs4
import requests

url = 'https://ggzy.hunan.gov.cn/jydt/002002/002002005/trade_ylcg.html'

# 模拟浏览器发送http请求
response = requests.get(url)
# 设置编码为网站的编码
response.encoding = response.apparent_encoding
# 获取到该网站的所有内容
html = response.text
soup = bs4.BeautifulSoup(html, 'html.parser')

print(soup)

